Strange problem with libc: undefined reference to `crypt'
Posted
by
sorush-r
on Ask Ubuntu
See other posts from Ask Ubuntu
or by sorush-r
Published on 2012-09-28T09:39:04Z
Indexed on
2012/09/28
9:50 UTC
Read the original article
Hit count: 223
I moved from Archlinux to Kubuntu 12.04 yesterday.
I compiled buildroot 2012.08 on Archlinux without any problem. Though on Kubuntu libcrypt
seems to be broken. sysvinit
can't find it anywhere. glibc-dev
and all dependencies are installed.
How do I link to libcrypt
? Or, which package containts that library?
...
bc-gcc sulogin.o -o sulogin
sulogin.o: In function `main':
sulogin.c:(.text+0x49d): undefined reference to `crypt'
collect2: ld returned 1 exit status
© Ask Ubuntu or respective owner